package com.huanxing.cloud.mall.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class UserWithdrawalApplyRequest {

	@ApiModelProperty(value = "PK")
	private String id;

	@ApiModelProperty(value = "申请金额（元）")
	@NotNull(message = "提现金额不能为空")
	private BigDecimal applyAmount;

	@ApiModelProperty(value = "描述")
	private String description;

	@ApiModelProperty(value = "真实姓名")
	@NotEmpty(message = "真实姓名不能为空")
	private String realName;

	@ApiModelProperty(value = "银行卡号")
	@NotEmpty(message = "银行卡号不能为空")
	private String bankCardNo;

	@ApiModelProperty(value = "银行名称")
	@NotEmpty(message = "银行名称不能为空")
	private String bankName;

}
